import React from 'react'
import { Breadcrumb } from 'antd'

export default function Bread(props) {
    return (
        <div className='bread'>
            <Breadcrumb style={{ margin: '16px 0', display: "flex", justifyContent: "start" }}>
                <Breadcrumb.Item>首页</Breadcrumb.Item>
                {props.bread_title1 && <Breadcrumb.Item>{props.bread_title1}</Breadcrumb.Item>}
                {props.bread_title2 && <Breadcrumb.Item>{props.bread_title2}</Breadcrumb.Item>}
            </Breadcrumb>
        </div>
    )
}
